package com.znsd.exam.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.znsd.entitys.ExamSubjectMiddleInfo;
import com.znsd.entitys.SpecialtyInfo;

@Repository
public interface ExamSpecialtyDao {
	public List<SpecialtyInfo> getCourseList();
	public List<SpecialtyInfo> getChapterList(Integer cid);
	public List<SpecialtyInfo> getPointsList(Integer cid);
	public SpecialtyInfo getPointsListId(Integer cid);
	public List<ExamSubjectMiddleInfo> getExamPaperWithSubject(ExamSubjectMiddleInfo esm);
	public int isAddESM(Map<String, Object> map);
	
	public int removeSubjectWithExamPaper(Map<String, Object> map);
	
	public Integer getEsmByExamIdWithSubjectId(ExamSubjectMiddleInfo esm);
}
